package com.vogue.supplymall.order.domain.service;

import java.util.List;

import com.vogue.supplymall.match.domain.dto.PushBillInfoDTO;
import com.vogue.supplymall.order.domain.model.OrderItem;

/**
 * The interface Order item service.
 *
 * @aouthor: zhangliang
 * @date: Create in 2018-01-10
 */
public interface OrderItemService extends BaseService<OrderItem, Long> {

    /**
     * Add order buyer order item.
     *
     * @param orderItem the order item
     * @return the order item
     */
    OrderItem addOrderItem(OrderItem orderItem);

    Long getOrderItemCount(OrderItem orderItem);
    
    /**
     * 更改差异数量
     * @param pbidList
     */
    public void changSendInfo(List<PushBillInfoDTO> pbidList) throws Exception;
}
